Twofold exp and log
نویسنده
چکیده
This article is about twofold arithmetic [1, 2]. Here I introduce algorithms and experimental code for twofold variant of C/C++ standard functions exp() and log(), and expm1() and log1p(). Twofold function y0 + y1 ≈ f(x0 + x1) is nearly 2x-precise so can assess accuracy of standard one. Performance allows assessing on-fly: twofold texp() over double is ~10x times faster than expq() by GNU quadmath.
منابع مشابه
Exp-Kumaraswamy Distributions: Some Properties and Applications
In this paper, we propose and study exp-kumaraswamy distribution. Some of its properties are derived, including the density function, hazard rate function, quantile function, moments, skewness and kurtosis. Adata set isused to illustrate an application of the proposed distribution. Also, we obtain a new distribution by transformation onexp-kumaraswamy distribution. New distribution is an...
متن کاملAsymptotic Expansions of exp - log
We give an algorithm to compute asymptotic expansions of exp-log functions. This algorithm automatically computes the necessary asymptotic scale and does not suuer from problems of indeenite cancellation. In particular, an asymptotic equivalent can always be computed for a given exp-log function. D eveloppements asymptotiques de fonctions exp-log R esum e Nous pr esentons un algorithme pour le ...
متن کاملDomain of attraction of normal law and zeros of random polynomials
Let$ P_{n}(x)= sum_{i=0}^{n} A_{i}x^{i}$ be a random algebraicpolynomial, where $A_{0},A_{1}, cdots $ is a sequence of independent random variables belong to the domain of attraction of the normal law. Thus $A_j$'s for $j=0,1cdots $ possesses the characteristic functions $exp {-frac{1}{2}t^{2}H_{j}(t)}$, where $H_j(t)$'s are complex slowlyvarying functions.Under the assumption that there exist ...
متن کاملThe Flux of Select NSAIDs through Silicone Membranes from Mineral Oil
Here we report the experimental log maximum fluxes of n = 9 non-steroidal anti-inflammatory drugs (NSAID) through silicone membranes from the lipid mineral oil (experimental (Exp.) log JMPMO) and correlate those Exp. log JMPMO values with their experimental log maximum fluxes through human skin in vivo from mineral oil (Exp. log JMHMO). The correlation was only fair (r2 = 0.647) for n = 9 but i...
متن کاملAccurately Computing log(1− exp(− |a|)) Assessed by the Rmpfr package
In this note, we explain how f(a) = log(1− e−a) = log(1− exp(−a)) can be computed accurately, in a simple and optimal manner, building on the two related auxiliary functions log1p(x) (= log(1 + x)) and expm1(x) (= exp(x)− 1 = ex − 1). The cutoff, a0, in use in R since 2004, is shown to be optimal both theoretically and empirically, using Rmpfr high precision arithmetic. As an aside, we also sho...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1502.05216 شماره
صفحات -
تاریخ انتشار 2015